/* Start Header
*****************************************************************/
/*!
\file   main.cpp
\author <Liu Wei Long, weilong.liu, 250002510>
        <Liu Zhi Yang, zhiyang.liu, 300000111>
\par    <email: weilong.liu\@digipen.edu> 
        <email: zhiyang.liu\@digipen.edu> 
\date   <Apr 3, 2012>
\brief
Copyright (C) 2012 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the
prior written consent of DigiPen Institute of Technology is prohibited.
*/
/* End Header
*******************************************************************/
#include "Client.h"

#pragma comment(lib, "ws2_32.lib")

int main()
{
	Client client("config.txt");
	if( !client.Setup() )
	{
		return 1;
	}
	// Send server my username and port number
	if( !client.SendUserName() )
	{
		return 1;
	}

	if( !client.Run())
	{
		return 1;
	}

	return 0;
}

